﻿using AspNetCore.Host.Hosting;

namespace AspNetCore.Host.Routing
{
    public class Endpoint
    {
        public List<object> Metadata { get; } = new List<object>(); 
        public RequestDelegate Delegate { get; set; }

        public Endpoint(RequestDelegate handler)
        {
            Delegate = handler;
        }
    }
}
